package com.edu.d2_polymorphic_average;

public class Cat extends Animal{
    public String name="子类猫咪";

    @Override
    public void run() {
        System.out.println("猫咪很听话");
    }
    public void swimming(){
        System.out.println("猫咪不能洗澡");
    }
}
